<template>
  <div>
    <!-- 弹窗显示 -->
    <el-dialog :title="dialogTitle" :visible.sync="dialog" :width="width" :append-to-body="body" custom-class="dialogClass">
      <!-- 默认插槽 父组件的代码会显示在这里 -->
      <slot></slot>
    </el-dialog>
  </div>
</template>

<script>
export default {
  name: "WuliankaDialog",

  data() {
    return {
      dialog: false
    };
  },

  mounted() {
   },
  props: ["dialogTitle", "body", "width"],
  methods: {
  }
};
</script>

<style lang="less" scoped>

</style>